﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PageRole.aspx.cs" Inherits="Whir_System_Module_Role_PageRole" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>操作权限设置</title>
    <link href="../../Skin/Default/Css/main.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
        if (top.location == self.location) { 
            alert('禁止访问子栏目页！将跳转到默认页面');
            top.location='../../Default.aspx';
        } 
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#DADADA">
            <tr>
                <td height="26" colspan="2" align="left" class="form_title"><strong>操作权限设置</strong></td>
            </tr>
            <tr>
                <td width="100" height="30" align="center" class="form_tdText">角色名称</td>
                <td align="left" class="form_td">
                    <asp:Label ID="lbRoleName" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">栏目名称</td>
                <td align="left" class="form_td">
                    <asp:Label ID="lbColumnName" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">权限</td>
                <td align="left" class="form_td">
                    <asp:CheckBoxList ID="cblRole" runat="server" RepeatDirection="horizontal">
                        <asp:ListItem Value="1">查看</asp:ListItem>
                        <asp:ListItem Value="2">添加</asp:ListItem>
                        <asp:ListItem Value="4">修改</asp:ListItem>
                        <asp:ListItem Value="8">删除</asp:ListItem>
                        <asp:ListItem Value="16">审核</asp:ListItem>
                        <asp:ListItem Value="32">推荐</asp:ListItem>
                        <asp:ListItem Value="64">置顶</asp:ListItem>
                        <asp:ListItem Value="128">其它</asp:ListItem>
                    </asp:CheckBoxList>
                </td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText"></td>
                <td align="left" class="form_td">
                    <asp:Button ID="btnSubmit" runat="server" Text="提交" CssClass="btn_default" OnClick="btnSubmit_Click" />
                    <input id="Reset1" type="reset" value="重置" class="btn_default" />
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
